package com.ytjj.qmyx.admin.mapper;

import com.ytjj.qmyx.admin.model.FrontCategory;
import com.ytjj.qmyx.admin.model.FrontCategoryExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

@Service("adminFrontCategoryMapper")
public interface FrontCategoryMapper {
    long countByExample(FrontCategoryExample example);

    int deleteByExample(FrontCategoryExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FrontCategory record);

    int insertSelective(FrontCategory record);

    List<FrontCategory> selectByExample(FrontCategoryExample example);

    FrontCategory selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FrontCategory record, @Param("example") FrontCategoryExample example);

    int updateByExample(@Param("record") FrontCategory record, @Param("example") FrontCategoryExample example);

    int updateByPrimaryKeySelective(FrontCategory record);

    int updateByPrimaryKey(FrontCategory record);
}